package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "doctor_advice")
public class DoctorAdvice {
    /**
     * ID
     */
    @TableId(value = "da_id", type = IdType.AUTO)
    private Integer daId;

    /**
     * 病人ID
     */
    @TableField(value = "pt_id")
    private Integer ptId;

    /**
     * 药品ID
     */
    @TableField(value = "d_id")
    private Integer dId;

    /**
     * 医嘱条陈
     */
    @TableField(value = "da_item")
    private String daItem;

    /**
     * 开医嘱的时间
     */
    @TableField(value = "da_create_time")
    private Date daCreateTime;

    /**
     * 医师ID
     */
    @TableField(value = "w_id")
    private Integer wId;

    /**
     * 开药的数量
     */
    @TableField(value = "d_num")
    private Integer dNum;

    /**
     * 当前医嘱是否付费y-已付
     */
    @TableField(value = "d_status")
    private String dStatus;
}